package com.dongdongshop.Service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.service.GoodsEditService;
import org.springframework.beans.factory.annotation.Autowired;

@Service
@org.springframework.stereotype.Service
public class GoodsEditServiceImpl implements GoodsEditService {

    @Autowired
    private TbGoodsDescMapper tbGoodsDescMapper;


    @Override
    public TbGoodsDesc selectGoodsDescById(Long goodsId) {

        return tbGoodsDescMapper.selectByPrimaryKey(goodsId);
    }
}
